package hs.framework.opcClient.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

/**
 * @Description TODO
 * @Author sxmz
 * @Date 2021/5/13 0013 上午 11:13
 */
@Data
@TableName("th_type_class")
@ToString(callSuper = true)
@ApiModel(value = "TypeClass对象", description = "数据类型转换表,用于记录转换数据类型")
public class TypeClass implements Serializable {
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer id;
    /**
     * 数据类型名
     */
    @ApiModelProperty(value = "数据类型名")
    @JsonSerialize(using = NullSerializer.class)
    private String typeName;
    /**
     * 类路径
     */
    @ApiModelProperty(value = "类路径")
    @JsonSerialize(using = NullSerializer.class)
    private String typePath;

}
